evtchn: simplify sending of notifications
authorJan Beulich <jbeulich@suse.com>
Mon, 19 Jan 2015 11:00:08 +0000 (12:00 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 19 Jan 2015 11:00:08 +0000 (12:00 +0100)
commitad34d0656fccda70de96f011c18e7a865b858e28
treec980fe61ea805b737f454d149f3ce0d102d4603d
parent76d4ff26d9647088353acaf4a56388a354a5d6e9
evtchn: simplify sending of notifications

The trivial wrapper evtchn_set_pending() is pretty pointless, as it
only serves to invoke another wrapper evtchn_port_set_pending(). In
turn, the latter is kind of inconsistent with its siblings in that is
takes a struct vcpu * rather than a struct domain * - adjusting this
allows for more efficient code in the majority of cases.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Tim Deegan <tim@xen.org>
xen/common/event_channel.c
xen/include/xen/event.h